package com.yuyou.tas.admin.mapper;

import org.apache.ibatis.annotations.Mapper;

import com.yuyou.tas.service.api.admin.entity.AuthOrganizationRoleRelation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AuthOrganizationRoleRelationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AuthOrganizationRoleRelation record);

    AuthOrganizationRoleRelation selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AuthOrganizationRoleRelation record);

    void deletedByOrganId(@Param(value = "organId") Long organId);

    List<Long> selectByOrganId(@Param(value = "organId") Long organId);
}